package gui;

import javax.swing.JFrame;

import facade.TrafficInfrastructureFacade;

public class MainWindow extends JFrame {

	public MainWindow(TrafficInfrastructureFacade t) {
		super("Traffic Control System");
		setBounds(0,0,800,600);
		drawArea = new DrawArea(t);
		getContentPane().add(drawArea);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
	}
	
	private DrawArea drawArea;
	
	private static final long serialVersionUID = 1L;

}
